using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace TestWindowsClient
{
	public partial class Main : Form
	{
		public Main()
		{
			InitializeComponent();
		}

		private void Main_Load(object sender, EventArgs e)
		{
			Login frmLogin = new Login();
			if (frmLogin.ShowDialog(this) == DialogResult.OK && frmLogin.Result)
			{
				MessageBox.Show("Login success!");
			}
			else
				Application.Exit();
		}
	}
}